import Cookies from 'js-cookie'
/**
 * cookies 内存 4k
 * cookies 可以自己携带token
 */
const TokenKey = 'hrsass-105-token'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
